﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    internal class caculator
    {
        static void Main(string[] args)
        {
            Console.WriteLine("a=");
            int a = Convert.ToInt32((Console.ReadLine()));
            //Console.WriteLine(a);
            Console.WriteLine("b=");
            int b = Convert.ToInt32((Console.ReadLine()));
            //Console.WriteLine(b);
            Console.WriteLine("operator=");
            char c = Char.Parse(Console.ReadLine());
            //Console.WriteLine(c);
            switch (c)
            {
                case '*':
                    Console.WriteLine(a * b);
                    break;
                case '/':
                    Console.WriteLine(a / b);
                    break;
                case '+':
                    Console.WriteLine(a + b);
                    break;
                case '-':
                    Console.WriteLine(a - b);
                    break;
                default: break;
            }

        }
    }
}
